// -----------后勤管理路由配置-----------

// 首页
const MasterView = () => import('@mast/MasterView.vue')

// 宿管管理
const DomitoryAdminSys = () => import('@mast/actor_admin/DomitoryAdminSys.vue')

// 学生管理
const StudentAdminSys = () => import('@mast/actor_admin/StudentAdminSys.vue')


// 通告栏
const AnnunciateBoard = () => import('@mast/AnnunciateBoard.vue')

// 所有宿舍信息统计
const DomitoriesSanityAdmin = () => import('@mast/DomitoriesSanityAdmin.vue')

//宿舍管理
const MasterDomitoryAdmin = () => import('@mast/MasterDomitoryAdmin.vue')

// 系统优化
const MasterHolidayAdmin = () => import('@mast/MasterHolidayAdmin.vue')

// 系统日志
const SystemLog = () => import('@mast/SystemLog.vue')

// 检查故障
const MasterPublicAdmin = () => import('@mast/MasterPublicAdmin.vue')
// 个人中心
const MasterCenter = () => import('@mast/MasterCenter.vue')

// 换房申请
const ChangeRoomApply=()=>import("@mast/ChangeRoomApply.vue")


const masterRoute = [
	{
		path: 'mas_center',
		name: '管理员个人中心',
		component: MasterCenter,
	},
	{
		path: 'mas_apply',
		name: '换房申请管理',
		component: ChangeRoomApply,
	},
	{
		path: 'domisys',
		name: '宿管管理',
		component: DomitoryAdminSys,
	},
	{
		path: 'stuSys',
		name: '学生管理',
		component: StudentAdminSys,
	},

	{
		path: 'm_notice',
		name: '通告栏',
		component: AnnunciateBoard,
	},
	{
		path: 'statics',
		name: '卫生检查管理',
		component: DomitoriesSanityAdmin,
	},
	{
		path: 'alloc',
		name: '宿舍管理',
		component: MasterDomitoryAdmin,
	},
	{
		path: 'perf',
		name: '假期管理',
		component: MasterHolidayAdmin,
	},
	{
		path: 'log',
		name: '系统日志',
		component: SystemLog,
	},
	{
		path: 'check',
		name: '公共设施管理',
		component: MasterPublicAdmin,
	},
	{
		path: 'index',
		name: '首页',
		component: MasterView,
	},
]

export default masterRoute
